<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<h1>Edit Employee</h1>
	<form:form action="${pageContext.request.contextPath}/editemp" modelAttribute="employee">
		<table>
			<tr>
				<td>Name :</td>
				<td><form:input path="name" /></td>
			</tr>
			<tr>
				<td>Password :</td>
				<td><form:input path="password" /></td>
			</tr>
			<tr>
				<td>Email :</td>
				<td><form:input path="email" /></td>
			</tr>
			<tr>
				<td>Sex :</td>
				<td><form:radiobuttons path="sex" items="${sexList}" /></td>
			</tr>
			<tr>
				<td>Country :</td>
				<td><form:select path="country" items="${countryList}" /></td>
			</tr>
			<tr>
				<td><form:hidden  path="id" /></td>
				<td><input type="submit" value="Update Employee" /></td>
			</tr>
		</table>
	</form:form>
</body>
</html>